﻿<%@ Page Title="基于角色访问控制" MasterPageFile="~/Site.Master" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RBAC.Administry._Default" %>
<%@ Register Src="~/control/UserInfo.ascx" TagName="UserInfo" TagPrefix="uc" %>
<asp:Content ContentPlaceHolderID="head" runat="server">

    <link href="style/css/style.css" rel="stylesheet" type="text/css" />
    <link href="style/css/custom.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        a.quick
        {
            display:block;
            width:100px;
            height:80px;
            text-align:center;
            text-decoration:none;
            line-height:130px;
            vertical-align:bottom;
        }
        a.quick:hover
        {
            background-color:#eeeeee;
        }

    </style>
    
</asp:Content>

<asp:Content ContentPlaceHolderID="main" runat="server">
        
    <h3>欢迎使用RBAC</h3>
    <i>Role Based Access Control </i>－基于角色访问控制
    <hr />
    
    <p>
        点击下列图标快速访问:
    </p>
    
    <table>
        <tr>
            <td><a class="quick account-group-32-center" href="Account/List.aspx" >账户</a></td>
            <td><a class="quick role32-center" href="Role/List.aspx" >角色</a></td>
            <td><a class="quick res32-center" href="Resource/List.aspx" >资源</a></td>
        </tr>
    </table>
    
    <p>
        <uc:UserInfo ID="UserInfo1" runat="server" />
    </p>
    
</asp:Content>